// 导入原来的官方的modeler
import Modeler from 'bpmn-js/lib/Modeler'
import inherits from 'inherits'
// 导入我自己定义的customPalette
import CustomPaletteContainer from './customPalette'

export default function BsinBpmnModeler(options) {
    Modeler.call(this, options)
    this._customElements = []
}

inherits(BsinBpmnModeler, Modeler)

BsinBpmnModeler.prototype._modules = [].concat(
    BsinBpmnModeler.prototype._modules, [
        CustomPaletteContainer
    ]
)
